All Questions
Tagged with lazy-initializationsingleton
1 question
2votes
1answer
1kviews
Applying initialization-on-demand holder idiom at variable level rather than class
I was looking for the idiomatic way to implement thread-safe lazy initialization for a configuration collection retrieved from the DB inside a Spring bean. I decided to adapt the initialisation-on-...